package com.engine4cloud.tdf.supervision.dto.result;

import com.engine4cloud.tdf.common.core.constant.enums.SimpleAuditActionStatusEnum;
import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 突发事件上报
 *
 * @author wenjie
 * @date 2024-04-11 10:23:14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "突发事件上报")
public class SpEmergencyReportResultDTO extends CreateTimeResultDTO {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 矫正人员编号
     */
    @Schema(description = "矫正人员编号")
    private String rybh;

    /**
     * 流程编号
     */
    @Schema(description = "流程编号")
    private String lcbh;

    /**
     * 发生时间
     */
    @Hidden
    @Schema(description = "发生时间")
    private LocalDateTime fssj;

    @Hidden
    @Schema(description = "事件发生所在省（区、市）")
    private String fsszs;

    @Hidden
    @Schema(description = "事件发生所在地（市、州）")
    private String fsszds;

    @Hidden
    @Schema(description = "事件发生所在县（市、区）")
    private String fsszxq;

    @Hidden
    @Schema(description = "事件发生所在（乡镇、街道）")
    private String fsszd;

    /**
     * 发生地点
     */
    @Schema(description = "发生地点")
    private String fsdd;

    /**
     * 经度
     */
    @Schema(description = "经度")
    private String jd;

    /**
     * 纬度
     */
    @Schema(description = "纬度")
    private String wd;

    /**
     * 上报人
     */
    @Schema(description = "上报人")
    private String sbr;

    /**
     * 突发事件描述
     */
    @Schema(description = "突发事件描述")
    private String tfsjms;

    /**
     * 审核动作
     */
    @Schema(description = "审核动作", example = "CREATE")
    private SimpleAuditActionStatusEnum preAction;

    /**
     * 事件发生地点
     */
    @Schema(description = "事件发生地点", example = "[\"460000\",\"46000A\",\"469006\",\"36327\"]")
    private List<String> areaList;

    /**
     * 法律文书材料
     */
    @Schema(description = "法律文书材料", example = "[{\"name\": \"张三***.doc\",\"url\": \"/users/张三***.doc\"}]")
    private List<JzdxFileResultDTO> instrumentList;
}